import request from '@/utils/request'

export function listDishesCategoryInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishesCategory/list',
    method: 'post',
    data: query
  })
}

export function addDishesCategoryInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishesCategory/add',
    method: 'post',
    data: query
  })
}

export function updateDishesCategoryInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishesCategory/update',
    method: 'post',
    data: query
  })
}

export function deleteDishesCategoryInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishesCategory/delete',
    method: 'post',
    data: query
  })
}
